﻿using System;
using DBA.Common;
using System.Collections;
using System.Collections.Generic;

namespace DBA.Model
{
    /// <summary>
    ///功能描述    :    Awards
    ///开发者      :    
    ///建立时间    :    2012-08-22 13:49:29
    ///修订描述    :    
    ///进度描述    :    
    ///版本号      :    1.0
    ///最后修改时间:    2012-08-22 13:49:29
    /// </summary>
        [OrmPropertyAttribute(TableName = "Awards",PrimaryKey = "Aw_ID",PrimaryKeyType = "IDENTITY",ParameterType = "int")]
    public class Awards
    {
        #region 构造函数
        public Awards(){}
        
       
        #endregion
        
        #region 成员
        private int _aw_ID;    
        private string _aw_Name;
        private string _aw_Class;
        private string _aw_Grade;
        private string _aw_Date;
        private string _aw_ResultName;
        private string _aw_CertificateNo;
        private string _aw_Person1;
        private string _aw_Person2;
        private string _aw_Person3;
        private string _aw_Person4;
        private string _aw_Person5;
        private string _aw_Person6;
        private string _aw_Person7;
        private short _Person1Is;
        private short _Person2Is;
        private short _Person3Is;
        private short _Person4Is;
        private short _Person5Is;
        private short _Person6Is;
        private short _Person7Is;
   
        #endregion
        
        #region 属性
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "0")]
        public virtual int Aw_ID
        {
            get { return _aw_ID; }
            set { _aw_ID = value; }
        }
    
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 200,IsNull = "1")]
        public virtual string Aw_Name
        {
            get { return _aw_Name; }
            set { _aw_Name = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 40,IsNull = "1")]
        public virtual string Aw_Class
        {
            get { return _aw_Class; }
            set { _aw_Class = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 60,IsNull = "1")]
        public virtual string Aw_Grade
        {
            get { return _aw_Grade; }
            set { _aw_Grade = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "varchar",ParameterLength = 8,IsNull = "1")]
        public virtual string Aw_Date
        {
            get { return _aw_Date; }
            set { _aw_Date = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 60,IsNull = "1")]
        public virtual string Aw_ResultName
        {
            get { return _aw_ResultName; }
            set { _aw_ResultName = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 200,IsNull = "1")]
        public virtual string Aw_CertificateNo
        {
            get { return _aw_CertificateNo; }
            set { _aw_CertificateNo = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 20,IsNull = "1")]
        public virtual string Aw_Person1
        {
            get { return _aw_Person1; }
            set { _aw_Person1 = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 20,IsNull = "1")]
        public virtual string Aw_Person2
        {
            get { return _aw_Person2; }
            set { _aw_Person2 = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 20,IsNull = "1")]
        public virtual string Aw_Person3
        {
            get { return _aw_Person3; }
            set { _aw_Person3 = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 20,IsNull = "1")]
        public virtual string Aw_Person4
        {
            get { return _aw_Person4; }
            set { _aw_Person4 = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 20,IsNull = "1")]
        public virtual string Aw_Person5
        {
            get { return _aw_Person5; }
            set { _aw_Person5 = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 20,IsNull = "1")]
        public virtual string Aw_Person6
        {
            get { return _aw_Person6; }
            set { _aw_Person6 = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 20,IsNull = "1")]
        public virtual string Aw_Person7
        {
            get { return _aw_Person7; }
            set { _aw_Person7 = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "smallint", ParameterLength = 2, IsNull = "1")]
        public virtual short Person1Is
        {
            get { return _Person1Is; }
            set { _Person1Is = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "smallint", ParameterLength = 2, IsNull = "1")]
        public virtual short Person2Is
        {
            get { return _Person2Is; }
            set { _Person2Is = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "smallint", ParameterLength = 2, IsNull = "1")]
        public virtual short Person3Is
        {
            get { return _Person3Is; }
            set { _Person3Is = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "smallint", ParameterLength = 2, IsNull = "1")]
        public virtual short Person4Is
        {
            get { return _Person4Is; }
            set { _Person4Is = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "smallint", ParameterLength = 2, IsNull = "1")]
        public virtual short Person5Is
        {
            get { return _Person5Is; }
            set { _Person5Is = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "smallint", ParameterLength = 2, IsNull = "1")]
        public virtual short Person6Is
        {
            get { return _Person6Is; }
            set { _Person6Is = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "smallint", ParameterLength = 2, IsNull = "1")]
        public virtual short Person7Is
        {
            get { return _Person7Is; }
            set { _Person7Is = value; }
        }
      
        #endregion
    }
}